package dao;

import pojo.News;

import java.util.List;
import java.util.Map;

public interface NewsDao {
    public Integer selsectNewsCount(Map<String, Object> params);
    public List<News> selectAllNews(Map<String,Object> params);
    public News selectNewsById(Integer newsId);
    public Integer updateViewsById(News news);
}
